package org.jeecg.modules.manage.entity;

import java.io.Serializable;

import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description: 金成色
 * @Author: jeecg-boot
 * @Date:   2021-09-14
 * @Version: V1.0
 */
@Data
@TableName("gold_karat")
@ApiModel(value="gold_karat对象", description="金成色")
public class GoldKarat implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**是否有子节点*/
	@Excel(name = "是否有子节点", width = 15, dicCode = "yn")
	@Dict(dicCode = "yn")
    @ApiModelProperty(value = "是否有子节点")
    private java.lang.String hasChild;
	/** 成色名称*/
	@Excel(name = " 成色名称", width = 15)
    @ApiModelProperty(value = " 成色名称")
    private java.lang.String goldKaratName;
	/** 成色名称(英文)*/
	@Excel(name = " 成色名称(英文)", width = 15)
    @ApiModelProperty(value = " 成色名称(英文)")
    private java.lang.String goldKaratNameEn;
	/**父成色*/
	@Excel(name = "父成色", width = 15)
    @ApiModelProperty(value = "父成色")
    private java.lang.String pid;
	/**金价（￥）*/
	@Excel(name = "金价（￥）", width = 15)
    @ApiModelProperty(value = "金价（￥）")
    private java.lang.Double goldPrice;
	/**折足率（%）*/
	@Excel(name = "折足率（%）", width = 15)
    @ApiModelProperty(value = "折足率（%）")
    private java.lang.Integer goldContent;
	/**少金罚款（￥）*/
	@Excel(name = "少金罚款（￥）", width = 15)
    @ApiModelProperty(value = "少金罚款（￥）")
    private java.lang.Integer forfeit;
	/**多金奖励（￥）*/
	@Excel(name = "多金奖励（￥）", width = 15)
    @ApiModelProperty(value = "多金奖励（￥）")
    private java.lang.Integer reward;
	/**金银转换比*/
	@Excel(name = "金银转换比", width = 15)
    @ApiModelProperty(value = "金银转换比")
    private java.lang.Double goldSilverRate;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
}
